Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Fix bad PhysicalShapeLayer performance when using system_composite#15320

Closed
arbreng wants to merge 1 commit into
masterfrom
fix-opacity
Closed

Fix bad PhysicalShapeLayer performance when using system_composite#15320
arbreng wants to merge 1 commit into
masterfrom
fix-opacity

Conversation

@arbreng

@arbreng arbreng commented Jan 8, 2020

Copy link
Copy Markdown
Contributor

No description provided.

@auto-assign auto-assign Bot requested a review from gaaclarke January 8, 2020 20:31
@arbreng

arbreng commented Jan 8, 2020

Copy link
Copy Markdown
Contributor Author

the parts I deleted were left over from a bad merge in #14577

set_paint_bounds(path_.getBounds());
} else {
if (PhysicalShapeLayerBase::can_system_composite()) {
// always system composite these layers when possible and an elevation is

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gaaclarke

Copy link
Copy Markdown
Contributor

Can you supply some data to justify the change? Maybe a performance test? Maybe a skia trace?

@iskakaushik

Copy link
Copy Markdown
Contributor

@gaaclarke fxb/43364 has traces relating to this regression

@iskakaushik iskakaushik left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM given that this addresses a high priority regression and that this change has been tested manually on various environments.

@arbreng

arbreng commented Jan 13, 2020

Copy link
Copy Markdown
Contributor Author

Unfortunately this ended up not being a fix in all situations, based on traces in the linked fxb/ issue.

Going to make another PR with a targeted revert of the offending code.

@arbreng arbreng closed this Jan 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Development

Successfully merging this pull request may close these issues.

4 participants